package com.ccnu.demojava.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class RJdkProxy implements InvocationHandler {
	public Object target;

	public RJdkProxy(Object target) {
		this.target = target;
	}
	
	@Override
	public Object invoke(Object proxy, Method m, Object[] args)
		throws Throwable{
		return m.invoke(proxy, args);
	}
}
